/**
 * Created with IntelliJ IDEA.
 * User: zet
 * Date: 13-3-5
 * Time: 下午7:53
 * To change this template use File | Settings | File Templates.
 */

describe('测试Map的get和put', function(){
    var arr = null;

    beforeEach(function(){
        arr = new Array();
        arr.push('111');
        arr.push('222');
        arr.push('333');
    });

    it('测试存在于Array的情况', function(){
        expect(arr.inArray('111')).toBe(true);
    });

    it('测试不存在于Array的情况', function(){
        expect(arr.inArray('444')).toBe(false);
    });

});
